﻿using ProduceBasicData.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProduceBasicData.Domain.ProductionManage
{
    /// <summary>
    /// 生产报工
    /// </summary>
    public class Production_report:BaseModel
    {
        /// <summary>
        /// 系统编码
        /// </summary>
        public string? Report_no { get; set; }
        /// <summary>
        /// 工单管理
        /// </summary>
        public int Order_id { get; set; }
        /// <summary>
        /// 工艺路线管理
        /// </summary>
        public int Process_id { get; set; }
        /// <summary>
        /// 报工日期
        /// </summary>
        public DateTime Production_time { get; set; }

        /// <summary>
        /// 产品id
        /// </summary>
        public int Product_id { get; set; }
        /// <summary>
        /// 报工状态 1已提交,2待审批,3已完成
        /// </summary>
        public int Report_status { get; set; }
        /// <summary>
        /// 计划生产数量
        /// </summary>
        public int Plan_qty { get; set; }
        /// <summary>
        /// 生产开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 生产结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
    }
}
